<!DOCTYPE html>
<html lang="zh-CN">
    <head>
        <meta charset="UTF-8" />
        <title>02_弹性盒子-主侧轴对齐-justify-content</title>
        <style>
            .container {
                width: 500px;
                height: 615px;
                border: 5px dashed red;
                display: flex;

            }
            

            .item {
                box-sizing: border-box;
                width: 200px;
                height: 200px;
                border: 1px solid black;
                background-color: darkseagreen;
            }

            .item01 {
                flex-shrink: 0;
            }
             
        </style>
    </head>
    <body>
        <div class="container">
            <div class="item item01">1</div>
            <div class="item">2</div>
            <div class="item">3</div>
        </div>
    </body>
</html>